-
Notifications
You must be signed in to change notification settings - Fork 792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor pyo3-ffi example to an example project #3487
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, a good idea! I had a read and have a few small suggestions...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM though looks like you need to format and update the expected test error messages. Maybe squash at the same time and feel free to merge after that :)
I HATE C'S INTEGER HIERARCHY ...but done 👍 |
@davidhewitt I did rework the exception handling, please merge if you approve 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 looks great, thanks again!
examples/string-sum/src/lib.rs
Outdated
|
||
let (first, second) = (*args, *args.add(1)); | ||
|
||
let Some(first) = parse_arg_as_i32(first, 1) else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah unfortunately let else is not stable on our MSRV!
1a2f596
to
9171221
Compare
No description provided.